package cn.com.iswl.soap;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

@SpringBootApplication
public class Soap extends SpringBootServletInitializer {

    /**
     * 可在在servlet中部署的war包
     */
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(Soap.class);
    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(Soap.class, args);
    }

}
